body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f7fafc;
  margin: 0;
  padding: 0;
}
.advisory-board-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 32px 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.advisory-board-title {
  text-align: center;
  font-size: 2.5rem;
  color: #2e3a59;
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: 1px;
}
.advisory-board-subtitle {
  text-align: center;
  color: #5a6b8a;
  margin-bottom: 32px;
  font-size: 1.1rem;
}
.advisory-board-grid.custom-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 cards per row */
  gap: 32px 24px;
}
.custom-card {
  background: #f3f6fa;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(44,62,80,0.08);
  border: 2px solid #e91e63; /* Pink outline */
  padding: 28px 16px 18px 16px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, max-height 0.4s, padding-bottom 0.4s;
  overflow: hidden;
  max-height: 350px;
}
.custom-card:hover {
  box-shadow: 0 6px 24px rgba(44,62,80,0.13);
  max-height: 1000px; /* Large enough for any content */
  padding-bottom: 40px;
}
.custom-card-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
  border: 4px solid #e91e63; /* Pink outline */
  background: #e0e7ef;
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.custom-card-name {
  font-size: 1.18rem;
  font-weight: 700;
  color: #222b45;
  margin-bottom: 12px;
  margin-top: 0;
  letter-spacing: 0.5px;
}
.custom-card-divider {
  width: 100%;
  height: 6px;
  background: #e91e63; /* Pink */
  margin: 0 auto 18px auto;
  border-radius: 3px;
}
.custom-card-plus {
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid #e91e63; /* Pink */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e91e63; /* Pink */
  font-size: 1.3rem;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(44,62,80,0.07);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.custom-card-plus:hover {
  background: #e91e63; /* Pink */
  color: #fff;
}
.custom-card .custom-card-bio {
  opacity: 0;
  max-height: 0;
  transition: opacity 0.4s, max-height 0.4s;
  font-size: 1rem;
  color: #6b7a99;
  margin-top: 10px;
  margin-bottom: 0;
  padding: 0 8px;
  pointer-events: none;
  overflow: hidden;
}
.custom-card:hover .custom-card-bio,
.custom-card-plus:hover ~ .custom-card-bio,
.custom-card-plus:focus ~ .custom-card-bio {
  opacity: 1;
  max-height: 1000px; /* Large enough for any content */
  pointer-events: auto;
  overflow: visible;
}
.custom-card-phone {
    margin-top: 10px;
    color: #e91e63;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
@media (max-width: 1200px) {
  .advisory-board-grid.custom-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .advisory-board-grid.custom-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .advisory-board-section {
    padding: 12px 4px;
  }
  .advisory-board-title {
    font-size: 1.5rem;
  }
  .advisory-board-grid.custom-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .advisory-board-section {
    padding: 12px 4px;
  }
  .advisory-board-title {
    font-size: 1.5rem;
  }
  .advisory-board-grid.custom-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1000px) {
  .advisory-board-grid.custom-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}